package com.nft.service.school.feign;

import com.nft.service.school.req.SchoolVisitorReq;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "nft-service-school",contextId="visitorClient", path = "/visitorClient")
public interface ISchoolVisitorClient {
    @RequestMapping(value = "/insertVisitorInfo", method = RequestMethod.POST)
    public Boolean insertVisitorInfo(@RequestBody SchoolVisitorReq query);
}
